﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
            //菱形
        {
			for (int i = 1; i <= 3; i++)
			{
				for (int j = 1; j <= 3 - i; j++)
				{
					Console.Write(" ");
				}
				for (int k = 1; k <= 2 * i - 1; k++)
				{
					Console.Write("*");
				}
				Console.WriteLine();
			}
			for (int i = 2; i >= 1; i--)
			{
				for (int j = 1; j <= 3 - i; j++)
				{
					Console.Write(" ");
				}
				for (int k = 1; k <= 2 * i - 1; k++)
				{
					Console.Write("*");
				}
				Console.ReadKey();
				Console.WriteLine();
			}
		}
	}
    }

